/**
  *  Module
  *
  * Description
  */
angular.
  module('sfhtHaitaoCmsApp').
  controller('ComHtmlEditorCtrl', function($scope, $modalInstance, html) {

    $scope.html = html;

    $scope.loaded = function (_editor) {
    };

    $scope.changed = function (e) {
    };


    $scope.ok = function(){
      $modalInstance.close($scope.html);
    };

    $scope.cancel = function() {
      $modalInstance.dismiss('cancel');
    };

  });